<div class="row">
<div class="col-12">
	<div class="widget-box">
		<div class="widget-title">
			<span class="icon">
				<i class="glyphicon glyphicon-align-justify"></i>									
			</span>
			<h5><?php echo ((@$edit->{$this->{$this->model}->primaryKey} > 0)?'Thông tin ':'Thêm mới ').@strtolower($this->resource->RES_NAME);?></h5>
		</div>
		<div class="widget-content nopadding">
			<form method="post" action="<?php echo $this->url_edit . @$edit->{$this->{$this->model}->primaryKey}; ?>"  enctype="multipart/form-data" class="form-horizontal">
				<?php echo $this->atheme->group_input2('edit[use_account]', 'User Account', '', 'span6 ', @$edit->use_account, 'text', ''); ?>
				<?php echo $this->atheme->group_input2('edit[use_name]', 'Tên thành viên', '', 'span6 ', @$edit->use_name, 'text', ''); ?>
				<?php echo $this->atheme->group_input2('edit[use_email]', 'Email:', '', 'span6 ', @$edit->use_email, 'text', ''); ?>
				<?php echo $this->atheme->group_input2('edit[passwd_new1]', 'Password:', '', 'span6 ', '', 'password', ''); ?>
				
				<?php echo $this->atheme->group_select2('edit[use_gender]','Giới tính','','', array('1'=>'Nam','0'=>'Nữ'),@$edit->use_gender); ?>
				<?php echo $this->atheme->group_select2('edit[use_status]','Trạng thái','','', array('1'=>'Sử dụng','0'=>'Khóa'),@$edit->use_status); ?>
				<?php echo $this->atheme->group_input2('edit[use_job]', 'Công việc', '', 'span6 ', @$edit->use_job, 'text', ''); ?>
				<?php echo $this->atheme->group_input2('edit[use_phone]', 'Số điện thoại', '', 'span6 ', @$edit->use_phone, 'text', ''); ?>
				<?php echo $this->atheme->group_input2('edit[use_address]', 'Địa chỉ', '', 'span6 ', @$edit->use_address, 'text', ''); ?>
				<?php echo $this->atheme->group_input2('edit[use_scores]', 'Điểm', '', 'span6 ', @$edit->use_scores, 'text', 'readonly="readonly"'); ?>
				<?php echo $this->atheme->group_input2('edit[use_rank]', 'Xếp hạng', '', 'span6 ', @$edit->use_rank, 'text', 'readonly="readonly"'); ?>
				<div class="form-actions">
					<button type="submit" class="btn btn-primary btn-small"><?php echo ((@$edit->{$this->{$this->model}->primaryKey} > 0)?'Save':'Add');?></button> or <a class="text-danger" href="<?php echo $this->url_index;?>">Cancel</a>
				</div>
			</form>
		</div>
	</div>						
</div>
</div>